package com.classichu.jetpacksimple.data.remote.api;


import com.classichu.jetpacksimple.data.remote.model.ZhihuModel;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

public interface ZhihuApi {
    @GET("/api/4/news/latest")
    Call<ZhihuModel> getLatestZhihuModel();
    @GET("/api/4/news/before/{date}")
    Call<ZhihuModel> getBeforeZhihuModel(@Path("date") String date);
    @GET("api/4/news/{id}")
    Call<ZhihuStoryDetail> getZhiHuStoryDetail(@Path("id") String id);

}
